/*
 * @Author: 谭必清
 * @Date: 2024-09-06 14:48:48
 * @LastEditors: 谭必清
 * @LastEditTime: 2024-09-06 14:56:28
 * @FilePath: /message-board/css/account.css
 * Copyright (c) 2020 - 2024 by TanBQ., All Rights Reserved.
 */

.container {
    margin: 0 auto;
    width: 80%;
}

.input-group {
    position: relative;
    width: 70%;
    height: 44px;
}

.input-group input {
    border: 1px solid #1d1d1d;
}

input {
    width: 100%;
    height: 100%;
    outline: none;
    padding-left: 12px;
    border-radius: 6px;
}

.placeholder {
    position: absolute;
    top: 12px;
    left: 8px;
    font-size: 18px;
    padding: 0 5px;
    transition: all .3s;
    pointer-events: none;
}

input:focus {
    border: 2px solid #1d1d1d;
}

input:focus+.placeholder,
input:not(:placeholder-shown)+.placeholder {
    top: -10px;
    font-size: 16px;
    color: #1d1d1d;
    background-color: #fff;
}